package net.minecraft.src;

public class ModelMesothelae extends ModelBase
{
	public ModelMesothelae()
	{
		Head = new ModelRenderer(this, 35, 10);
		Head.addBox(-4F, -4F, -8F, 5, 4, 4);
		Head.setRotationPoint(2F, 22F, 2F);
		Head.rotateAngleX = 0F;
		Head.rotateAngleY = 0F;
		Head.rotateAngleZ = 0F;
		Head.mirror = false;
		Body = new ModelRenderer(this, 0, 0);
		Body.addBox(-3F, -3F, -3F, 4, 2, 5);
		Body.setRotationPoint(1.5F, 22F, 1F);
		Body.rotateAngleX = 0F;
		Body.rotateAngleY = 0F;
		Body.rotateAngleZ = 0F;
		Body.mirror = false;
		RearEnd = new ModelRenderer(this, 0, 12);
		RearEnd.addBox(-5F, -4F, -6F, 5, 4, 7);
		RearEnd.setRotationPoint(3F, 22F, 9F);
		RearEnd.rotateAngleX = 0F;
		RearEnd.rotateAngleY = 0F;
		RearEnd.rotateAngleZ = 0F;
		RearEnd.mirror = false;
		Leg8 = new ModelRenderer(this, 18, 0);
		Leg8.addBox(0F, -1F, -1F, 7, 2, 2);
		Leg8.setRotationPoint(3F, 21F, -1F);
		Leg8.rotateAngleX = 0.07436F;
		Leg8.rotateAngleY = 0.91057F;
		Leg8.rotateAngleZ = 0.08272F;
		Leg8.mirror = false;
		Leg6 = new ModelRenderer(this, 18, 0);
		Leg6.addBox(-1F, -1F, -1F, 8, 2, 2);
		Leg6.setRotationPoint(2.666667F, 20F, 0F);
		Leg6.rotateAngleX = 0F;
		Leg6.rotateAngleY = 0.27925F;
		Leg6.rotateAngleZ = 0.19199F;
		Leg6.mirror = false;
		Leg4 = new ModelRenderer(this, 18, 0);
		Leg4.addBox(-1F, -1F, -1F, 8, 2, 2);
		Leg4.setRotationPoint(3F, 20F, 1F);
		Leg4.rotateAngleX = 0F;
		Leg4.rotateAngleY = -0.27925F;
		Leg4.rotateAngleZ = 0.19199F;
		Leg4.mirror = false;
		Leg2 = new ModelRenderer(this, 18, 0);
		Leg2.addBox(-1F, -1F, -1F, 7, 2, 2);
		Leg2.setRotationPoint(3F, 20F, 2F);
		Leg2.rotateAngleX = 0F;
		Leg2.rotateAngleY = -0.57596F;
		Leg2.rotateAngleZ = 0.19199F;
		Leg2.mirror = false;
		Leg7 = new ModelRenderer(this, 18, 0);
		Leg7.addBox(-7F, -1F, -1F, 7, 2, 2);
		Leg7.setRotationPoint(-2F, 21F, -1F);
		Leg7.rotateAngleX = 0.07436F;
		Leg7.rotateAngleY = -0.91057F;
		Leg7.rotateAngleZ = -0.04327F;
		Leg7.mirror = false;
		Leg5 = new ModelRenderer(this, 18, 0);
		Leg5.addBox(-15F, -1F, -1F, 7, 2, 2);
		Leg5.setRotationPoint(6F, 19F, 2F);
		Leg5.rotateAngleX = 0F;
		Leg5.rotateAngleY = -0.27925F;
		Leg5.rotateAngleZ = -0.19199F;
		Leg5.mirror = false;
		Leg3 = new ModelRenderer(this, 18, 0);
		Leg3.addBox(-15F, -1F, -1F, 7, 2, 2);
		Leg3.setRotationPoint(6.6F, 19F, -1F);
		Leg3.rotateAngleX = 0F;
		Leg3.rotateAngleY = 0.27925F;
		Leg3.rotateAngleZ = -0.19199F;
		Leg3.mirror = false;
		Leg1 = new ModelRenderer(this, 18, 0);
		Leg1.addBox(-15F, -1F, -1F, 7, 2, 2);
		Leg1.setRotationPoint(5.2F, 19F, -1F);
		Leg1.rotateAngleX = 0F;
		Leg1.rotateAngleY = 0.57596F;
		Leg1.rotateAngleZ = -0.19199F;
		Leg1.mirror = false;
	}

	public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
	{
		super.render(entity, f, f1, f2, f3, f4, f5);
		setRotationAngles(f, f1, f2, f3, f4, f5);
		Head.render(f5);
		Body.render(f5);
		RearEnd.render(f5);
		Leg8.render(f5);
		Leg6.render(f5);
		Leg4.render(f5);
		Leg2.render(f5);
		Leg7.render(f5);
		Leg5.render(f5);
		Leg3.render(f5);
		Leg1.render(f5);
	}

	public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
	{
		super.setRotationAngles(f, f1, f2, f3, f4, f5);
	}

	ModelRenderer Head;
	ModelRenderer Body;
	ModelRenderer RearEnd;
	ModelRenderer Leg8;
	ModelRenderer Leg6;
	ModelRenderer Leg4;
	ModelRenderer Leg2;
	ModelRenderer Leg7;
	ModelRenderer Leg5;
	ModelRenderer Leg3;
	ModelRenderer Leg1;
}